package com.zhentao.api.article;

import com.zhentao.model.article.dtos.ArticleDto;
import com.zhentao.model.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

//@FeignClient(value = "zhentao-leadnews-articlel")zhentao-leadnews-articel
@FeignClient(value = "zhentao-leadnews-articel")
public interface ArticleClientApi {
    @PostMapping("/api/v1/article/save")
    public ResponseResult saveArticle(@RequestBody ArticleDto dto);

}
